package cn.wgx.modules.sys.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class SysMsgExample {
    /**
     *
     * @mbg.generated Sat Mar 14 00:21:14 CST 2020
     */
    protected String orderByClause;

    /**
     *
     * @mbg.generated Sat Mar 14 00:21:14 CST 2020
     */
    protected boolean distinct;

    /**
     *
     * @mbg.generated Sat Mar 14 00:21:14 CST 2020
     */
    protected List<Criteria> oredCriteria;

    /**
     *
     * @mbg.generated Sat Mar 14 00:21:14 CST 2020
     */
    public SysMsgExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     *
     * @mbg.generated Sat Mar 14 00:21:14 CST 2020
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     *
     * @mbg.generated Sat Mar 14 00:21:14 CST 2020
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     *
     * @mbg.generated Sat Mar 14 00:21:14 CST 2020
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     *
     * @mbg.generated Sat Mar 14 00:21:14 CST 2020
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     *
     * @mbg.generated Sat Mar 14 00:21:14 CST 2020
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     *
     * @mbg.generated Sat Mar 14 00:21:14 CST 2020
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     *
     * @mbg.generated Sat Mar 14 00:21:14 CST 2020
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     *
     * @mbg.generated Sat Mar 14 00:21:14 CST 2020
     */
    public SysMsgExample orderBy(String orderByClause) {
        this.setOrderByClause(orderByClause);
        return this;
    }

    /**
     *
     * @mbg.generated Sat Mar 14 00:21:14 CST 2020
     */
    public SysMsgExample orderBy(String ... orderByClauses) {
        StringBuffer sb = new StringBuffer();
        for (int i = 0; i < orderByClauses.length; i++) {
            sb.append(orderByClauses[i]);
            if (i < orderByClauses.length - 1) {
                sb.append(" , ");
            }
        }
        this.setOrderByClause(sb.toString());
        return this;
    }

    /**
     *
     * @mbg.generated Sat Mar 14 00:21:14 CST 2020
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     *
     * @mbg.generated Sat Mar 14 00:21:14 CST 2020
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria(this);
        return criteria;
    }

    /**
     *
     * @mbg.generated Sat Mar 14 00:21:14 CST 2020
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     *
     * @mbg.generated Sat Mar 14 00:21:14 CST 2020
     */
    public static Criteria newAndCreateCriteria() {
        SysMsgExample example = new SysMsgExample();
        return example.createCriteria();
    }

    /**
     *
     * @mbg.generated Sat Mar 14 00:21:14 CST 2020
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andMsg_idIsNull() {
            addCriterion("t.msg_id is null");
            return (Criteria) this;
        }

        public Criteria andMsg_idIsNotNull() {
            addCriterion("t.msg_id is not null");
            return (Criteria) this;
        }

        public Criteria andMsg_idEqualTo(Integer value) {
            addCriterion("t.msg_id =", value, "msg_id");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andMsg_idEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.msg_id = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMsg_idNotEqualTo(Integer value) {
            addCriterion("t.msg_id <>", value, "msg_id");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andMsg_idNotEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.msg_id <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMsg_idGreaterThan(Integer value) {
            addCriterion("t.msg_id >", value, "msg_id");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andMsg_idGreaterThanColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.msg_id > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMsg_idGreaterThanOrEqualTo(Integer value) {
            addCriterion("t.msg_id >=", value, "msg_id");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andMsg_idGreaterThanOrEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.msg_id >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMsg_idLessThan(Integer value) {
            addCriterion("t.msg_id <", value, "msg_id");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andMsg_idLessThanColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.msg_id < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMsg_idLessThanOrEqualTo(Integer value) {
            addCriterion("t.msg_id <=", value, "msg_id");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andMsg_idLessThanOrEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.msg_id <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMsg_idIn(List<Integer> values) {
            addCriterion("t.msg_id in", values, "msg_id");
            return (Criteria) this;
        }

        public Criteria andMsg_idNotIn(List<Integer> values) {
            addCriterion("t.msg_id not in", values, "msg_id");
            return (Criteria) this;
        }

        public Criteria andMsg_idBetween(Integer value1, Integer value2) {
            addCriterion("t.msg_id between", value1, value2, "msg_id");
            return (Criteria) this;
        }

        public Criteria andMsg_idNotBetween(Integer value1, Integer value2) {
            addCriterion("t.msg_id not between", value1, value2, "msg_id");
            return (Criteria) this;
        }

        public Criteria andTitleIsNull() {
            addCriterion("t.title is null");
            return (Criteria) this;
        }

        public Criteria andTitleIsNotNull() {
            addCriterion("t.title is not null");
            return (Criteria) this;
        }

        public Criteria andTitleEqualTo(String value) {
            addCriterion("t.title =", value, "title");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andTitleEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.title = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTitleNotEqualTo(String value) {
            addCriterion("t.title <>", value, "title");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andTitleNotEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.title <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThan(String value) {
            addCriterion("t.title >", value, "title");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andTitleGreaterThanColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.title > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThanOrEqualTo(String value) {
            addCriterion("t.title >=", value, "title");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andTitleGreaterThanOrEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.title >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTitleLessThan(String value) {
            addCriterion("t.title <", value, "title");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andTitleLessThanColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.title < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTitleLessThanOrEqualTo(String value) {
            addCriterion("t.title <=", value, "title");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andTitleLessThanOrEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.title <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTitleLike(String value) {
            addCriterion("t.title like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotLike(String value) {
            addCriterion("t.title not like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleIn(List<String> values) {
            addCriterion("t.title in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotIn(List<String> values) {
            addCriterion("t.title not in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleBetween(String value1, String value2) {
            addCriterion("t.title between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotBetween(String value1, String value2) {
            addCriterion("t.title not between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andContentIsNull() {
            addCriterion("t.content is null");
            return (Criteria) this;
        }

        public Criteria andContentIsNotNull() {
            addCriterion("t.content is not null");
            return (Criteria) this;
        }

        public Criteria andContentEqualTo(String value) {
            addCriterion("t.content =", value, "content");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andContentEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.content = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andContentNotEqualTo(String value) {
            addCriterion("t.content <>", value, "content");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andContentNotEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.content <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andContentGreaterThan(String value) {
            addCriterion("t.content >", value, "content");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andContentGreaterThanColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.content > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andContentGreaterThanOrEqualTo(String value) {
            addCriterion("t.content >=", value, "content");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andContentGreaterThanOrEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.content >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andContentLessThan(String value) {
            addCriterion("t.content <", value, "content");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andContentLessThanColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.content < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andContentLessThanOrEqualTo(String value) {
            addCriterion("t.content <=", value, "content");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andContentLessThanOrEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.content <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andContentLike(String value) {
            addCriterion("t.content like", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotLike(String value) {
            addCriterion("t.content not like", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentIn(List<String> values) {
            addCriterion("t.content in", values, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotIn(List<String> values) {
            addCriterion("t.content not in", values, "content");
            return (Criteria) this;
        }

        public Criteria andContentBetween(String value1, String value2) {
            addCriterion("t.content between", value1, value2, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotBetween(String value1, String value2) {
            addCriterion("t.content not between", value1, value2, "content");
            return (Criteria) this;
        }

        public Criteria andToUserIdIsNull() {
            addCriterion("t.toUserId is null");
            return (Criteria) this;
        }

        public Criteria andToUserIdIsNotNull() {
            addCriterion("t.toUserId is not null");
            return (Criteria) this;
        }

        public Criteria andToUserIdEqualTo(Integer value) {
            addCriterion("t.toUserId =", value, "toUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andToUserIdEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.toUserId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andToUserIdNotEqualTo(Integer value) {
            addCriterion("t.toUserId <>", value, "toUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andToUserIdNotEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.toUserId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andToUserIdGreaterThan(Integer value) {
            addCriterion("t.toUserId >", value, "toUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andToUserIdGreaterThanColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.toUserId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andToUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("t.toUserId >=", value, "toUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andToUserIdGreaterThanOrEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.toUserId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andToUserIdLessThan(Integer value) {
            addCriterion("t.toUserId <", value, "toUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andToUserIdLessThanColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.toUserId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andToUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("t.toUserId <=", value, "toUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andToUserIdLessThanOrEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.toUserId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andToUserIdIn(List<Integer> values) {
            addCriterion("t.toUserId in", values, "toUserId");
            return (Criteria) this;
        }

        public Criteria andToUserIdNotIn(List<Integer> values) {
            addCriterion("t.toUserId not in", values, "toUserId");
            return (Criteria) this;
        }

        public Criteria andToUserIdBetween(Integer value1, Integer value2) {
            addCriterion("t.toUserId between", value1, value2, "toUserId");
            return (Criteria) this;
        }

        public Criteria andToUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("t.toUserId not between", value1, value2, "toUserId");
            return (Criteria) this;
        }

        public Criteria andFromUserIdIsNull() {
            addCriterion("t.fromUserId is null");
            return (Criteria) this;
        }

        public Criteria andFromUserIdIsNotNull() {
            addCriterion("t.fromUserId is not null");
            return (Criteria) this;
        }

        public Criteria andFromUserIdEqualTo(Integer value) {
            addCriterion("t.fromUserId =", value, "fromUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andFromUserIdEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.fromUserId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andFromUserIdNotEqualTo(Integer value) {
            addCriterion("t.fromUserId <>", value, "fromUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andFromUserIdNotEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.fromUserId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andFromUserIdGreaterThan(Integer value) {
            addCriterion("t.fromUserId >", value, "fromUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andFromUserIdGreaterThanColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.fromUserId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andFromUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("t.fromUserId >=", value, "fromUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andFromUserIdGreaterThanOrEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.fromUserId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andFromUserIdLessThan(Integer value) {
            addCriterion("t.fromUserId <", value, "fromUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andFromUserIdLessThanColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.fromUserId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andFromUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("t.fromUserId <=", value, "fromUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andFromUserIdLessThanOrEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.fromUserId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andFromUserIdIn(List<Integer> values) {
            addCriterion("t.fromUserId in", values, "fromUserId");
            return (Criteria) this;
        }

        public Criteria andFromUserIdNotIn(List<Integer> values) {
            addCriterion("t.fromUserId not in", values, "fromUserId");
            return (Criteria) this;
        }

        public Criteria andFromUserIdBetween(Integer value1, Integer value2) {
            addCriterion("t.fromUserId between", value1, value2, "fromUserId");
            return (Criteria) this;
        }

        public Criteria andFromUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("t.fromUserId not between", value1, value2, "fromUserId");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("t.status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("t.status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("t.status =", value, "status");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andStatusEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.status = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("t.status <>", value, "status");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andStatusNotEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.status <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("t.status >", value, "status");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andStatusGreaterThanColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.status > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("t.status >=", value, "status");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andStatusGreaterThanOrEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.status >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("t.status <", value, "status");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andStatusLessThanColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.status < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("t.status <=", value, "status");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andStatusLessThanOrEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.status <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("t.status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("t.status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("t.status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("t.status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andUserTypeIsNull() {
            addCriterion("t.userType is null");
            return (Criteria) this;
        }

        public Criteria andUserTypeIsNotNull() {
            addCriterion("t.userType is not null");
            return (Criteria) this;
        }

        public Criteria andUserTypeEqualTo(Integer value) {
            addCriterion("t.userType =", value, "userType");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andUserTypeEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.userType = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUserTypeNotEqualTo(Integer value) {
            addCriterion("t.userType <>", value, "userType");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andUserTypeNotEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.userType <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUserTypeGreaterThan(Integer value) {
            addCriterion("t.userType >", value, "userType");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andUserTypeGreaterThanColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.userType > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUserTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("t.userType >=", value, "userType");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andUserTypeGreaterThanOrEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.userType >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUserTypeLessThan(Integer value) {
            addCriterion("t.userType <", value, "userType");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andUserTypeLessThanColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.userType < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUserTypeLessThanOrEqualTo(Integer value) {
            addCriterion("t.userType <=", value, "userType");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andUserTypeLessThanOrEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.userType <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUserTypeIn(List<Integer> values) {
            addCriterion("t.userType in", values, "userType");
            return (Criteria) this;
        }

        public Criteria andUserTypeNotIn(List<Integer> values) {
            addCriterion("t.userType not in", values, "userType");
            return (Criteria) this;
        }

        public Criteria andUserTypeBetween(Integer value1, Integer value2) {
            addCriterion("t.userType between", value1, value2, "userType");
            return (Criteria) this;
        }

        public Criteria andUserTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("t.userType not between", value1, value2, "userType");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("t.type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("t.type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Integer value) {
            addCriterion("t.type =", value, "type");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andTypeEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.type = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Integer value) {
            addCriterion("t.type <>", value, "type");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andTypeNotEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.type <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Integer value) {
            addCriterion("t.type >", value, "type");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andTypeGreaterThanColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.type > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("t.type >=", value, "type");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andTypeGreaterThanOrEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.type >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Integer value) {
            addCriterion("t.type <", value, "type");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andTypeLessThanColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.type < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Integer value) {
            addCriterion("t.type <=", value, "type");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andTypeLessThanOrEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.type <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Integer> values) {
            addCriterion("t.type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Integer> values) {
            addCriterion("t.type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Integer value1, Integer value2) {
            addCriterion("t.type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("t.type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andDelIsNull() {
            addCriterion("t.del is null");
            return (Criteria) this;
        }

        public Criteria andDelIsNotNull() {
            addCriterion("t.del is not null");
            return (Criteria) this;
        }

        public Criteria andDelEqualTo(Integer value) {
            addCriterion("t.del =", value, "del");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andDelEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.del = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDelNotEqualTo(Integer value) {
            addCriterion("t.del <>", value, "del");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andDelNotEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.del <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDelGreaterThan(Integer value) {
            addCriterion("t.del >", value, "del");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andDelGreaterThanColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.del > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDelGreaterThanOrEqualTo(Integer value) {
            addCriterion("t.del >=", value, "del");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andDelGreaterThanOrEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.del >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDelLessThan(Integer value) {
            addCriterion("t.del <", value, "del");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andDelLessThanColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.del < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDelLessThanOrEqualTo(Integer value) {
            addCriterion("t.del <=", value, "del");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andDelLessThanOrEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.del <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDelIn(List<Integer> values) {
            addCriterion("t.del in", values, "del");
            return (Criteria) this;
        }

        public Criteria andDelNotIn(List<Integer> values) {
            addCriterion("t.del not in", values, "del");
            return (Criteria) this;
        }

        public Criteria andDelBetween(Integer value1, Integer value2) {
            addCriterion("t.del between", value1, value2, "del");
            return (Criteria) this;
        }

        public Criteria andDelNotBetween(Integer value1, Integer value2) {
            addCriterion("t.del not between", value1, value2, "del");
            return (Criteria) this;
        }

        public Criteria andSchoolCodeIsNull() {
            addCriterion("t.schoolCode is null");
            return (Criteria) this;
        }

        public Criteria andSchoolCodeIsNotNull() {
            addCriterion("t.schoolCode is not null");
            return (Criteria) this;
        }

        public Criteria andSchoolCodeEqualTo(String value) {
            addCriterion("t.schoolCode =", value, "schoolCode");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andSchoolCodeEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.schoolCode = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSchoolCodeNotEqualTo(String value) {
            addCriterion("t.schoolCode <>", value, "schoolCode");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andSchoolCodeNotEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.schoolCode <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSchoolCodeGreaterThan(String value) {
            addCriterion("t.schoolCode >", value, "schoolCode");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andSchoolCodeGreaterThanColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.schoolCode > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSchoolCodeGreaterThanOrEqualTo(String value) {
            addCriterion("t.schoolCode >=", value, "schoolCode");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andSchoolCodeGreaterThanOrEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.schoolCode >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSchoolCodeLessThan(String value) {
            addCriterion("t.schoolCode <", value, "schoolCode");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andSchoolCodeLessThanColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.schoolCode < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSchoolCodeLessThanOrEqualTo(String value) {
            addCriterion("t.schoolCode <=", value, "schoolCode");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andSchoolCodeLessThanOrEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.schoolCode <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSchoolCodeLike(String value) {
            addCriterion("t.schoolCode like", value, "schoolCode");
            return (Criteria) this;
        }

        public Criteria andSchoolCodeNotLike(String value) {
            addCriterion("t.schoolCode not like", value, "schoolCode");
            return (Criteria) this;
        }

        public Criteria andSchoolCodeIn(List<String> values) {
            addCriterion("t.schoolCode in", values, "schoolCode");
            return (Criteria) this;
        }

        public Criteria andSchoolCodeNotIn(List<String> values) {
            addCriterion("t.schoolCode not in", values, "schoolCode");
            return (Criteria) this;
        }

        public Criteria andSchoolCodeBetween(String value1, String value2) {
            addCriterion("t.schoolCode between", value1, value2, "schoolCode");
            return (Criteria) this;
        }

        public Criteria andSchoolCodeNotBetween(String value1, String value2) {
            addCriterion("t.schoolCode not between", value1, value2, "schoolCode");
            return (Criteria) this;
        }

        public Criteria andSquadCodeIsNull() {
            addCriterion("t.squadCode is null");
            return (Criteria) this;
        }

        public Criteria andSquadCodeIsNotNull() {
            addCriterion("t.squadCode is not null");
            return (Criteria) this;
        }

        public Criteria andSquadCodeEqualTo(String value) {
            addCriterion("t.squadCode =", value, "squadCode");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andSquadCodeEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.squadCode = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSquadCodeNotEqualTo(String value) {
            addCriterion("t.squadCode <>", value, "squadCode");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andSquadCodeNotEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.squadCode <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSquadCodeGreaterThan(String value) {
            addCriterion("t.squadCode >", value, "squadCode");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andSquadCodeGreaterThanColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.squadCode > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSquadCodeGreaterThanOrEqualTo(String value) {
            addCriterion("t.squadCode >=", value, "squadCode");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andSquadCodeGreaterThanOrEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.squadCode >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSquadCodeLessThan(String value) {
            addCriterion("t.squadCode <", value, "squadCode");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andSquadCodeLessThanColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.squadCode < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSquadCodeLessThanOrEqualTo(String value) {
            addCriterion("t.squadCode <=", value, "squadCode");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andSquadCodeLessThanOrEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.squadCode <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSquadCodeLike(String value) {
            addCriterion("t.squadCode like", value, "squadCode");
            return (Criteria) this;
        }

        public Criteria andSquadCodeNotLike(String value) {
            addCriterion("t.squadCode not like", value, "squadCode");
            return (Criteria) this;
        }

        public Criteria andSquadCodeIn(List<String> values) {
            addCriterion("t.squadCode in", values, "squadCode");
            return (Criteria) this;
        }

        public Criteria andSquadCodeNotIn(List<String> values) {
            addCriterion("t.squadCode not in", values, "squadCode");
            return (Criteria) this;
        }

        public Criteria andSquadCodeBetween(String value1, String value2) {
            addCriterion("t.squadCode between", value1, value2, "squadCode");
            return (Criteria) this;
        }

        public Criteria andSquadCodeNotBetween(String value1, String value2) {
            addCriterion("t.squadCode not between", value1, value2, "squadCode");
            return (Criteria) this;
        }

        public Criteria andHashCodeIsNull() {
            addCriterion("t.hashCode is null");
            return (Criteria) this;
        }

        public Criteria andHashCodeIsNotNull() {
            addCriterion("t.hashCode is not null");
            return (Criteria) this;
        }

        public Criteria andHashCodeEqualTo(String value) {
            addCriterion("t.hashCode =", value, "hashCode");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andHashCodeEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.hashCode = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andHashCodeNotEqualTo(String value) {
            addCriterion("t.hashCode <>", value, "hashCode");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andHashCodeNotEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.hashCode <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andHashCodeGreaterThan(String value) {
            addCriterion("t.hashCode >", value, "hashCode");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andHashCodeGreaterThanColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.hashCode > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andHashCodeGreaterThanOrEqualTo(String value) {
            addCriterion("t.hashCode >=", value, "hashCode");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andHashCodeGreaterThanOrEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.hashCode >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andHashCodeLessThan(String value) {
            addCriterion("t.hashCode <", value, "hashCode");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andHashCodeLessThanColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.hashCode < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andHashCodeLessThanOrEqualTo(String value) {
            addCriterion("t.hashCode <=", value, "hashCode");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andHashCodeLessThanOrEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.hashCode <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andHashCodeLike(String value) {
            addCriterion("t.hashCode like", value, "hashCode");
            return (Criteria) this;
        }

        public Criteria andHashCodeNotLike(String value) {
            addCriterion("t.hashCode not like", value, "hashCode");
            return (Criteria) this;
        }

        public Criteria andHashCodeIn(List<String> values) {
            addCriterion("t.hashCode in", values, "hashCode");
            return (Criteria) this;
        }

        public Criteria andHashCodeNotIn(List<String> values) {
            addCriterion("t.hashCode not in", values, "hashCode");
            return (Criteria) this;
        }

        public Criteria andHashCodeBetween(String value1, String value2) {
            addCriterion("t.hashCode between", value1, value2, "hashCode");
            return (Criteria) this;
        }

        public Criteria andHashCodeNotBetween(String value1, String value2) {
            addCriterion("t.hashCode not between", value1, value2, "hashCode");
            return (Criteria) this;
        }

        public Criteria andIsSendIsNull() {
            addCriterion("t.isSend is null");
            return (Criteria) this;
        }

        public Criteria andIsSendIsNotNull() {
            addCriterion("t.isSend is not null");
            return (Criteria) this;
        }

        public Criteria andIsSendEqualTo(Boolean value) {
            addCriterion("t.isSend =", value, "isSend");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andIsSendEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.isSend = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIsSendNotEqualTo(Boolean value) {
            addCriterion("t.isSend <>", value, "isSend");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andIsSendNotEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.isSend <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIsSendGreaterThan(Boolean value) {
            addCriterion("t.isSend >", value, "isSend");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andIsSendGreaterThanColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.isSend > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIsSendGreaterThanOrEqualTo(Boolean value) {
            addCriterion("t.isSend >=", value, "isSend");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andIsSendGreaterThanOrEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.isSend >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIsSendLessThan(Boolean value) {
            addCriterion("t.isSend <", value, "isSend");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andIsSendLessThanColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.isSend < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIsSendLessThanOrEqualTo(Boolean value) {
            addCriterion("t.isSend <=", value, "isSend");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andIsSendLessThanOrEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.isSend <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIsSendIn(List<Boolean> values) {
            addCriterion("t.isSend in", values, "isSend");
            return (Criteria) this;
        }

        public Criteria andIsSendNotIn(List<Boolean> values) {
            addCriterion("t.isSend not in", values, "isSend");
            return (Criteria) this;
        }

        public Criteria andIsSendBetween(Boolean value1, Boolean value2) {
            addCriterion("t.isSend between", value1, value2, "isSend");
            return (Criteria) this;
        }

        public Criteria andIsSendNotBetween(Boolean value1, Boolean value2) {
            addCriterion("t.isSend not between", value1, value2, "isSend");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIsNull() {
            addCriterion("t.createUserId is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIsNotNull() {
            addCriterion("t.createUserId is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdEqualTo(Integer value) {
            addCriterion("t.createUserId =", value, "createUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andCreateUserIdEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.createUserId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotEqualTo(Integer value) {
            addCriterion("t.createUserId <>", value, "createUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andCreateUserIdNotEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.createUserId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserIdGreaterThan(Integer value) {
            addCriterion("t.createUserId >", value, "createUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andCreateUserIdGreaterThanColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.createUserId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("t.createUserId >=", value, "createUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andCreateUserIdGreaterThanOrEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.createUserId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserIdLessThan(Integer value) {
            addCriterion("t.createUserId <", value, "createUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andCreateUserIdLessThanColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.createUserId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("t.createUserId <=", value, "createUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andCreateUserIdLessThanOrEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.createUserId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIn(List<Integer> values) {
            addCriterion("t.createUserId in", values, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotIn(List<Integer> values) {
            addCriterion("t.createUserId not in", values, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdBetween(Integer value1, Integer value2) {
            addCriterion("t.createUserId between", value1, value2, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("t.createUserId not between", value1, value2, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNull() {
            addCriterion("t.createDate is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("t.createDate is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(Date value) {
            addCriterion("t.createDate =", value, "createDate");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andCreateDateEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.createDate = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(Date value) {
            addCriterion("t.createDate <>", value, "createDate");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andCreateDateNotEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.createDate <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(Date value) {
            addCriterion("t.createDate >", value, "createDate");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andCreateDateGreaterThanColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.createDate > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("t.createDate >=", value, "createDate");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andCreateDateGreaterThanOrEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.createDate >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(Date value) {
            addCriterion("t.createDate <", value, "createDate");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andCreateDateLessThanColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.createDate < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("t.createDate <=", value, "createDate");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andCreateDateLessThanOrEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.createDate <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<Date> values) {
            addCriterion("t.createDate in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<Date> values) {
            addCriterion("t.createDate not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(Date value1, Date value2) {
            addCriterion("t.createDate between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("t.createDate not between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdIsNull() {
            addCriterion("t.updateUserId is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdIsNotNull() {
            addCriterion("t.updateUserId is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdEqualTo(Integer value) {
            addCriterion("t.updateUserId =", value, "updateUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andUpdateUserIdEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.updateUserId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdNotEqualTo(Integer value) {
            addCriterion("t.updateUserId <>", value, "updateUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andUpdateUserIdNotEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.updateUserId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdGreaterThan(Integer value) {
            addCriterion("t.updateUserId >", value, "updateUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andUpdateUserIdGreaterThanColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.updateUserId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("t.updateUserId >=", value, "updateUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andUpdateUserIdGreaterThanOrEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.updateUserId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdLessThan(Integer value) {
            addCriterion("t.updateUserId <", value, "updateUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andUpdateUserIdLessThanColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.updateUserId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("t.updateUserId <=", value, "updateUserId");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andUpdateUserIdLessThanOrEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.updateUserId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdIn(List<Integer> values) {
            addCriterion("t.updateUserId in", values, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdNotIn(List<Integer> values) {
            addCriterion("t.updateUserId not in", values, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdBetween(Integer value1, Integer value2) {
            addCriterion("t.updateUserId between", value1, value2, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("t.updateUserId not between", value1, value2, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNull() {
            addCriterion("t.updateDate is null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNotNull() {
            addCriterion("t.updateDate is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateEqualTo(Date value) {
            addCriterion("t.updateDate =", value, "updateDate");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andUpdateDateEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.updateDate = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotEqualTo(Date value) {
            addCriterion("t.updateDate <>", value, "updateDate");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andUpdateDateNotEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.updateDate <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThan(Date value) {
            addCriterion("t.updateDate >", value, "updateDate");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andUpdateDateGreaterThanColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.updateDate > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("t.updateDate >=", value, "updateDate");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andUpdateDateGreaterThanOrEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.updateDate >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThan(Date value) {
            addCriterion("t.updateDate <", value, "updateDate");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andUpdateDateLessThanColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.updateDate < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThanOrEqualTo(Date value) {
            addCriterion("t.updateDate <=", value, "updateDate");
            return (Criteria) this;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andUpdateDateLessThanOrEqualToColumn(SysMsg.Column column) {
            addCriterion(new StringBuilder("t.updateDate <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateDateIn(List<Date> values) {
            addCriterion("t.updateDate in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotIn(List<Date> values) {
            addCriterion("t.updateDate not in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateBetween(Date value1, Date value2) {
            addCriterion("t.updateDate between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotBetween(Date value1, Date value2) {
            addCriterion("t.updateDate not between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andTitleLikeInsensitive(String value) {
            addCriterion("upper(t.title) like", value.toUpperCase(), "title");
            return (Criteria) this;
        }

        public Criteria andContentLikeInsensitive(String value) {
            addCriterion("upper(t.content) like", value.toUpperCase(), "content");
            return (Criteria) this;
        }

        public Criteria andSchoolCodeLikeInsensitive(String value) {
            addCriterion("upper(t.schoolCode) like", value.toUpperCase(), "schoolCode");
            return (Criteria) this;
        }

        public Criteria andSquadCodeLikeInsensitive(String value) {
            addCriterion("upper(t.squadCode) like", value.toUpperCase(), "squadCode");
            return (Criteria) this;
        }

        public Criteria andHashCodeLikeInsensitive(String value) {
            addCriterion("upper(t.hashCode) like", value.toUpperCase(), "hashCode");
            return (Criteria) this;
        }
    }

    /**
     *
     * @mbg.generated do_not_delete_during_merge Sat Mar 14 00:21:14 CST 2020
     */
    public static class Criteria extends GeneratedCriteria {
        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        private SysMsgExample example;

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        protected Criteria(SysMsgExample example) {
            super();
            this.example = example;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public SysMsgExample example() {
            return this.example;
        }

        /**
         *
         * @mbg.generated Sat Mar 14 00:21:14 CST 2020
         */
        public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
            if (ifAdd) {
                add.add(this);
            }
            return this;
        }

        public interface ICriteriaAdd {
            /**
             *
             * @mbg.generated Sat Mar 14 00:21:14 CST 2020
             */
            Criteria add(Criteria add);
        }
    }

    /**
     *
     * @mbg.generated Sat Mar 14 00:21:14 CST 2020
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}